﻿///////////////////////////////////////////////////////////////
// This is generated code. 
//////////////////////////////////////////////////////////////
// Code is generated using LLBLGen Pro version: 3.1
// Code is generated on: 2012年10月10日 8:11:45
// Code is generated using templates: SD.TemplateBindings.SharedTemplates.NET20
// Templates vendor: Solutions Design.
// Templates version: 
//////////////////////////////////////////////////////////////
using System;
using SD.LLBLGen.Pro.ORMSupportClasses;

namespace NetDon.eBoss.Data.HelperClasses
{
	
	// __LLBLGENPRO_USER_CODE_REGION_START AdditionalNamespaces
	// __LLBLGENPRO_USER_CODE_REGION_END
	
	/// <summary>Singleton implementation of the FieldInfoProvider. This class is the singleton wrapper through which the actual instance is retrieved.</summary>
	/// <remarks>It uses a single instance of an internal class. The access isn't marked with locks as the FieldInfoProviderBase class is threadsafe.</remarks>
	internal static class FieldInfoProviderSingleton
	{
		#region Class Member Declarations
		private static readonly IFieldInfoProvider _providerInstance = new FieldInfoProviderCore();
		#endregion

		/// <summary>Dummy static constructor to make sure threadsafe initialization is performed.</summary>
		static FieldInfoProviderSingleton()
		{
		}

		/// <summary>Gets the singleton instance of the FieldInfoProviderCore</summary>
		/// <returns>Instance of the FieldInfoProvider.</returns>
		public static IFieldInfoProvider GetInstance()
		{
			return _providerInstance;
		}
	}

	/// <summary>Actual implementation of the FieldInfoProvider. Used by singleton wrapper.</summary>
	internal class FieldInfoProviderCore : FieldInfoProviderBase
	{
		/// <summary>Initializes a new instance of the <see cref="FieldInfoProviderCore"/> class.</summary>
		internal FieldInfoProviderCore()
		{
			Init();
		}

		/// <summary>Method which initializes the internal datastores.</summary>
		private void Init()
		{
			this.InitClass( (26 + 0));
			InitBrandsettingEntityInfos();
			InitConfigurationEntityInfos();
			InitDictionaryEntityInfos();
			InitDictionarycategoryEntityInfos();
			InitFunctionEntityInfos();
			InitHtmltoolaccountEntityInfos();
			InitHtmltoolaccounttemplateEntityInfos();
			InitHtmltoolcategoryruleEntityInfos();
			InitHtmltoolcolorEntityInfos();
			InitHtmltoolstyleEntityInfos();
			InitHtmltooltrademarksettingEntityInfos();
			InitHtmltoolvocabularyEntityInfos();
			InitProduccategoryattributeEntityInfos();
			InitProductEntityInfos();
			InitProductcategoryEntityInfos();
			InitProductgroupEntityInfos();
			InitProductsummaryEntityInfos();
			InitRoleEntityInfos();
			InitRolefunctionEntityInfos();
			InitSizesettingEntityInfos();
			InitStoreEntityInfos();
			InitStorecategoryEntityInfos();
			InitTemplateEntityInfos();
			InitTitlesettingEntityInfos();
			InitUserEntityInfos();
			InitUserroleEntityInfos();

			this.ConstructElementFieldStructures(InheritanceInfoProviderSingleton.GetInstance());
		}

		/// <summary>Inits BrandsettingEntity's FieldInfo objects</summary>
		private void InitBrandsettingEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(BrandsettingFieldIndex), "BrandsettingEntity");
			this.AddElementFieldInfo("BrandsettingEntity", "Descbrand", typeof(System.String), false, false, false, true,  (int)BrandsettingFieldIndex.Descbrand, 255, 0, 0);
			this.AddElementFieldInfo("BrandsettingEntity", "Descnobrand", typeof(System.String), false, false, false, true,  (int)BrandsettingFieldIndex.Descnobrand, 255, 0, 0);
			this.AddElementFieldInfo("BrandsettingEntity", "Id", typeof(System.Int32), true, false, false, false,  (int)BrandsettingFieldIndex.Id, 0, 0, 0);
			this.AddElementFieldInfo("BrandsettingEntity", "Sitecode", typeof(Nullable<System.Int32>), false, false, false, true,  (int)BrandsettingFieldIndex.Sitecode, 0, 0, 0);
			this.AddElementFieldInfo("BrandsettingEntity", "Titlebrand", typeof(System.String), false, false, false, true,  (int)BrandsettingFieldIndex.Titlebrand, 255, 0, 0);
			this.AddElementFieldInfo("BrandsettingEntity", "Titlenobrand", typeof(System.String), false, false, false, true,  (int)BrandsettingFieldIndex.Titlenobrand, 255, 0, 0);
		}
		/// <summary>Inits ConfigurationEntity's FieldInfo objects</summary>
		private void InitConfigurationEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(ConfigurationFieldIndex), "ConfigurationEntity");
			this.AddElementFieldInfo("ConfigurationEntity", "Key", typeof(System.Int32), true, false, false, false,  (int)ConfigurationFieldIndex.Key, 0, 0, 0);
			this.AddElementFieldInfo("ConfigurationEntity", "Name", typeof(System.String), false, false, false, false,  (int)ConfigurationFieldIndex.Name, 50, 0, 0);
			this.AddElementFieldInfo("ConfigurationEntity", "Value", typeof(System.String), false, false, false, true,  (int)ConfigurationFieldIndex.Value, 4000, 0, 0);
		}
		/// <summary>Inits DictionaryEntity's FieldInfo objects</summary>
		private void InitDictionaryEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(DictionaryFieldIndex), "DictionaryEntity");
			this.AddElementFieldInfo("DictionaryEntity", "Fieldvalue", typeof(Nullable<System.Int32>), false, false, false, true,  (int)DictionaryFieldIndex.Fieldvalue, 0, 0, 0);
			this.AddElementFieldInfo("DictionaryEntity", "Index", typeof(System.Int32), false, false, false, false,  (int)DictionaryFieldIndex.Index, 0, 0, 0);
			this.AddElementFieldInfo("DictionaryEntity", "Name", typeof(System.String), false, false, false, false,  (int)DictionaryFieldIndex.Name, 50, 0, 0);
			this.AddElementFieldInfo("DictionaryEntity", "Oid", typeof(System.Int32), true, false, false, false,  (int)DictionaryFieldIndex.Oid, 0, 0, 0);
			this.AddElementFieldInfo("DictionaryEntity", "Typeid", typeof(System.Int32), false, true, false, false,  (int)DictionaryFieldIndex.Typeid, 0, 0, 0);
		}
		/// <summary>Inits DictionarycategoryEntity's FieldInfo objects</summary>
		private void InitDictionarycategoryEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(DictionarycategoryFieldIndex), "DictionarycategoryEntity");
			this.AddElementFieldInfo("DictionarycategoryEntity", "Name", typeof(System.String), false, false, false, false,  (int)DictionarycategoryFieldIndex.Name, 50, 0, 0);
			this.AddElementFieldInfo("DictionarycategoryEntity", "Oid", typeof(System.Int32), true, false, false, false,  (int)DictionarycategoryFieldIndex.Oid, 0, 0, 0);
		}
		/// <summary>Inits FunctionEntity's FieldInfo objects</summary>
		private void InitFunctionEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(FunctionFieldIndex), "FunctionEntity");
			this.AddElementFieldInfo("FunctionEntity", "Description", typeof(System.String), false, false, false, true,  (int)FunctionFieldIndex.Description, 500, 0, 0);
			this.AddElementFieldInfo("FunctionEntity", "Functionid", typeof(System.Int32), true, false, false, false,  (int)FunctionFieldIndex.Functionid, 0, 0, 0);
			this.AddElementFieldInfo("FunctionEntity", "Functionname", typeof(System.String), false, false, false, false,  (int)FunctionFieldIndex.Functionname, 50, 0, 0);
			this.AddElementFieldInfo("FunctionEntity", "Imageurl", typeof(System.String), false, false, false, true,  (int)FunctionFieldIndex.Imageurl, 500, 0, 0);
			this.AddElementFieldInfo("FunctionEntity", "Index", typeof(System.Int32), false, false, false, false,  (int)FunctionFieldIndex.Index, 0, 0, 0);
			this.AddElementFieldInfo("FunctionEntity", "Navigateurl", typeof(System.String), false, false, false, true,  (int)FunctionFieldIndex.Navigateurl, 500, 0, 0);
			this.AddElementFieldInfo("FunctionEntity", "Parentid", typeof(System.String), false, false, false, false,  (int)FunctionFieldIndex.Parentid, 300, 0, 0);
			this.AddElementFieldInfo("FunctionEntity", "Type", typeof(System.Int16), false, false, false, false,  (int)FunctionFieldIndex.Type, 0, 0, 0);
			this.AddElementFieldInfo("FunctionEntity", "Visible", typeof(System.Int16), false, false, false, false,  (int)FunctionFieldIndex.Visible, 0, 0, 0);
		}
		/// <summary>Inits HtmltoolaccountEntity's FieldInfo objects</summary>
		private void InitHtmltoolaccountEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(HtmltoolaccountFieldIndex), "HtmltoolaccountEntity");
			this.AddElementFieldInfo("HtmltoolaccountEntity", "Accountname", typeof(System.String), false, false, false, true,  (int)HtmltoolaccountFieldIndex.Accountname, 255, 0, 0);
			this.AddElementFieldInfo("HtmltoolaccountEntity", "From", typeof(Nullable<System.Int32>), false, true, false, true,  (int)HtmltoolaccountFieldIndex.From, 0, 0, 0);
			this.AddElementFieldInfo("HtmltoolaccountEntity", "Id", typeof(System.Int32), true, false, false, false,  (int)HtmltoolaccountFieldIndex.Id, 0, 0, 0);
			this.AddElementFieldInfo("HtmltoolaccountEntity", "Isdefault", typeof(Nullable<System.Int16>), false, false, false, true,  (int)HtmltoolaccountFieldIndex.Isdefault, 0, 0, 0);
			this.AddElementFieldInfo("HtmltoolaccountEntity", "Sitecode", typeof(Nullable<System.Int32>), false, false, false, true,  (int)HtmltoolaccountFieldIndex.Sitecode, 0, 0, 0);
		}
		/// <summary>Inits HtmltoolaccounttemplateEntity's FieldInfo objects</summary>
		private void InitHtmltoolaccounttemplateEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(HtmltoolaccounttemplateFieldIndex), "HtmltoolaccounttemplateEntity");
			this.AddElementFieldInfo("HtmltoolaccounttemplateEntity", "Accountid", typeof(Nullable<System.Int32>), false, true, false, true,  (int)HtmltoolaccounttemplateFieldIndex.Accountid, 0, 0, 0);
			this.AddElementFieldInfo("HtmltoolaccounttemplateEntity", "Categoryruleid", typeof(Nullable<System.Int32>), false, true, false, true,  (int)HtmltoolaccounttemplateFieldIndex.Categoryruleid, 0, 0, 0);
			this.AddElementFieldInfo("HtmltoolaccounttemplateEntity", "Content", typeof(Nullable<System.Int32>), false, true, false, true,  (int)HtmltoolaccounttemplateFieldIndex.Content, 0, 0, 0);
			this.AddElementFieldInfo("HtmltoolaccounttemplateEntity", "Id", typeof(System.Int32), true, false, false, false,  (int)HtmltoolaccounttemplateFieldIndex.Id, 0, 0, 0);
		}
		/// <summary>Inits HtmltoolcategoryruleEntity's FieldInfo objects</summary>
		private void InitHtmltoolcategoryruleEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(HtmltoolcategoryruleFieldIndex), "HtmltoolcategoryruleEntity");
			this.AddElementFieldInfo("HtmltoolcategoryruleEntity", "Category", typeof(System.String), false, false, false, true,  (int)HtmltoolcategoryruleFieldIndex.Category, 255, 0, 0);
			this.AddElementFieldInfo("HtmltoolcategoryruleEntity", "Comments", typeof(System.String), false, false, false, true,  (int)HtmltoolcategoryruleFieldIndex.Comments, 255, 0, 0);
			this.AddElementFieldInfo("HtmltoolcategoryruleEntity", "Ebaycategory", typeof(System.String), false, false, false, true,  (int)HtmltoolcategoryruleFieldIndex.Ebaycategory, 255, 0, 0);
			this.AddElementFieldInfo("HtmltoolcategoryruleEntity", "Id", typeof(System.Int32), true, false, false, false,  (int)HtmltoolcategoryruleFieldIndex.Id, 0, 0, 0);
			this.AddElementFieldInfo("HtmltoolcategoryruleEntity", "Rule", typeof(System.String), false, false, false, true,  (int)HtmltoolcategoryruleFieldIndex.Rule, 255, 0, 0);
		}
		/// <summary>Inits HtmltoolcolorEntity's FieldInfo objects</summary>
		private void InitHtmltoolcolorEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(HtmltoolcolorFieldIndex), "HtmltoolcolorEntity");
			this.AddElementFieldInfo("HtmltoolcolorEntity", "Batchid", typeof(System.String), false, false, false, true,  (int)HtmltoolcolorFieldIndex.Batchid, 38, 0, 0);
			this.AddElementFieldInfo("HtmltoolcolorEntity", "Color", typeof(System.String), false, false, false, true,  (int)HtmltoolcolorFieldIndex.Color, 255, 0, 0);
			this.AddElementFieldInfo("HtmltoolcolorEntity", "Id", typeof(System.Int32), true, false, false, false,  (int)HtmltoolcolorFieldIndex.Id, 0, 0, 0);
			this.AddElementFieldInfo("HtmltoolcolorEntity", "Sitecode", typeof(Nullable<System.Int32>), false, false, false, true,  (int)HtmltoolcolorFieldIndex.Sitecode, 0, 0, 0);
		}
		/// <summary>Inits HtmltoolstyleEntity's FieldInfo objects</summary>
		private void InitHtmltoolstyleEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(HtmltoolstyleFieldIndex), "HtmltoolstyleEntity");
			this.AddElementFieldInfo("HtmltoolstyleEntity", "Batchid", typeof(System.String), false, false, false, true,  (int)HtmltoolstyleFieldIndex.Batchid, 38, 0, 0);
			this.AddElementFieldInfo("HtmltoolstyleEntity", "Categoryruleid", typeof(Nullable<System.Int32>), false, true, false, true,  (int)HtmltoolstyleFieldIndex.Categoryruleid, 0, 0, 0);
			this.AddElementFieldInfo("HtmltoolstyleEntity", "Id", typeof(System.Int32), true, false, false, false,  (int)HtmltoolstyleFieldIndex.Id, 0, 0, 0);
			this.AddElementFieldInfo("HtmltoolstyleEntity", "Sitecode", typeof(Nullable<System.Int32>), false, false, false, true,  (int)HtmltoolstyleFieldIndex.Sitecode, 0, 0, 0);
			this.AddElementFieldInfo("HtmltoolstyleEntity", "Style", typeof(System.String), false, false, false, true,  (int)HtmltoolstyleFieldIndex.Style, 255, 0, 0);
		}
		/// <summary>Inits HtmltooltrademarksettingEntity's FieldInfo objects</summary>
		private void InitHtmltooltrademarksettingEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(HtmltooltrademarksettingFieldIndex), "HtmltooltrademarksettingEntity");
			this.AddElementFieldInfo("HtmltooltrademarksettingEntity", "D1", typeof(System.String), false, false, false, true,  (int)HtmltooltrademarksettingFieldIndex.D1, 2147483647, 0, 0);
			this.AddElementFieldInfo("HtmltooltrademarksettingEntity", "D2", typeof(System.String), false, false, false, true,  (int)HtmltooltrademarksettingFieldIndex.D2, 2147483647, 0, 0);
			this.AddElementFieldInfo("HtmltooltrademarksettingEntity", "D3", typeof(System.String), false, false, false, true,  (int)HtmltooltrademarksettingFieldIndex.D3, 2147483647, 0, 0);
			this.AddElementFieldInfo("HtmltooltrademarksettingEntity", "D4", typeof(System.String), false, false, false, true,  (int)HtmltooltrademarksettingFieldIndex.D4, 2147483647, 0, 0);
			this.AddElementFieldInfo("HtmltooltrademarksettingEntity", "D5", typeof(System.String), false, false, false, true,  (int)HtmltooltrademarksettingFieldIndex.D5, 2147483647, 0, 0);
			this.AddElementFieldInfo("HtmltooltrademarksettingEntity", "Id", typeof(System.Int32), true, false, false, false,  (int)HtmltooltrademarksettingFieldIndex.Id, 0, 0, 0);
			this.AddElementFieldInfo("HtmltooltrademarksettingEntity", "Market", typeof(System.String), false, false, false, true,  (int)HtmltooltrademarksettingFieldIndex.Market, 50, 0, 0);
			this.AddElementFieldInfo("HtmltooltrademarksettingEntity", "Name", typeof(System.String), false, false, false, true,  (int)HtmltooltrademarksettingFieldIndex.Name, 255, 0, 0);
		}
		/// <summary>Inits HtmltoolvocabularyEntity's FieldInfo objects</summary>
		private void InitHtmltoolvocabularyEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(HtmltoolvocabularyFieldIndex), "HtmltoolvocabularyEntity");
			this.AddElementFieldInfo("HtmltoolvocabularyEntity", "Batchid", typeof(System.String), false, false, false, true,  (int)HtmltoolvocabularyFieldIndex.Batchid, 38, 0, 0);
			this.AddElementFieldInfo("HtmltoolvocabularyEntity", "Categoryruleid", typeof(Nullable<System.Int32>), false, false, false, true,  (int)HtmltoolvocabularyFieldIndex.Categoryruleid, 0, 0, 0);
			this.AddElementFieldInfo("HtmltoolvocabularyEntity", "Id", typeof(System.Int32), true, false, false, false,  (int)HtmltoolvocabularyFieldIndex.Id, 0, 0, 0);
			this.AddElementFieldInfo("HtmltoolvocabularyEntity", "Materialword", typeof(System.String), false, false, false, true,  (int)HtmltoolvocabularyFieldIndex.Materialword, 2147483647, 0, 0);
			this.AddElementFieldInfo("HtmltoolvocabularyEntity", "Sitecode", typeof(Nullable<System.Int32>), false, false, false, true,  (int)HtmltoolvocabularyFieldIndex.Sitecode, 0, 0, 0);
			this.AddElementFieldInfo("HtmltoolvocabularyEntity", "Titleword", typeof(System.String), false, false, false, true,  (int)HtmltoolvocabularyFieldIndex.Titleword, 2147483647, 0, 0);
		}
		/// <summary>Inits ProduccategoryattributeEntity's FieldInfo objects</summary>
		private void InitProduccategoryattributeEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(ProduccategoryattributeFieldIndex), "ProduccategoryattributeEntity");
			this.AddElementFieldInfo("ProduccategoryattributeEntity", "Fieldname", typeof(System.String), false, false, false, false,  (int)ProduccategoryattributeFieldIndex.Fieldname, 50, 0, 0);
			this.AddElementFieldInfo("ProduccategoryattributeEntity", "Fieldtype", typeof(System.Int16), false, false, false, false,  (int)ProduccategoryattributeFieldIndex.Fieldtype, 0, 0, 0);
			this.AddElementFieldInfo("ProduccategoryattributeEntity", "Isactive", typeof(System.Int16), false, false, false, false,  (int)ProduccategoryattributeFieldIndex.Isactive, 0, 0, 0);
			this.AddElementFieldInfo("ProduccategoryattributeEntity", "Prodcatattrid", typeof(System.Int32), true, false, false, false,  (int)ProduccategoryattributeFieldIndex.Prodcatattrid, 0, 0, 0);
			this.AddElementFieldInfo("ProduccategoryattributeEntity", "Prodcateid", typeof(System.Int32), false, true, false, false,  (int)ProduccategoryattributeFieldIndex.Prodcateid, 0, 0, 0);
		}
		/// <summary>Inits ProductEntity's FieldInfo objects</summary>
		private void InitProductEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(ProductFieldIndex), "ProductEntity");
			this.AddElementFieldInfo("ProductEntity", "Averageprice", typeof(Nullable<System.Decimal>), false, false, false, true,  (int)ProductFieldIndex.Averageprice, 0, 2, 10);
			this.AddElementFieldInfo("ProductEntity", "Brand", typeof(Nullable<System.Int32>), false, false, false, true,  (int)ProductFieldIndex.Brand, 0, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Buyitnowprice", typeof(Nullable<System.Decimal>), false, false, false, true,  (int)ProductFieldIndex.Buyitnowprice, 0, 2, 10);
			this.AddElementFieldInfo("ProductEntity", "Comment", typeof(System.String), false, false, false, true,  (int)ProductFieldIndex.Comment, 2000, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Createdate", typeof(Nullable<System.DateTime>), false, false, false, true,  (int)ProductFieldIndex.Createdate, 8, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Createuser", typeof(System.String), false, false, false, true,  (int)ProductFieldIndex.Createuser, 50, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Description", typeof(System.String), false, false, false, true,  (int)ProductFieldIndex.Description, 2147483647, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Ebaycateid", typeof(System.String), false, false, false, true,  (int)ProductFieldIndex.Ebaycateid, 50, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Innerprice", typeof(Nullable<System.Decimal>), false, false, false, true,  (int)ProductFieldIndex.Innerprice, 0, 2, 10);
			this.AddElementFieldInfo("ProductEntity", "Interestrate", typeof(Nullable<System.Decimal>), false, false, false, true,  (int)ProductFieldIndex.Interestrate, 0, 2, 10);
			this.AddElementFieldInfo("ProductEntity", "Isdelete", typeof(Nullable<System.Int32>), false, false, false, true,  (int)ProductFieldIndex.Isdelete, 0, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Lastupdateby", typeof(System.String), false, false, false, true,  (int)ProductFieldIndex.Lastupdateby, 50, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Lastupdatetime", typeof(Nullable<System.DateTime>), false, false, false, true,  (int)ProductFieldIndex.Lastupdatetime, 8, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Latestprice", typeof(Nullable<System.Decimal>), false, false, false, true,  (int)ProductFieldIndex.Latestprice, 0, 2, 10);
			this.AddElementFieldInfo("ProductEntity", "Manufacturer", typeof(System.String), false, false, false, true,  (int)ProductFieldIndex.Manufacturer, 50, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Memberprice", typeof(Nullable<System.Decimal>), false, false, false, true,  (int)ProductFieldIndex.Memberprice, 0, 2, 10);
			this.AddElementFieldInfo("ProductEntity", "Name", typeof(System.String), false, false, false, false,  (int)ProductFieldIndex.Name, 100, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Needwarning", typeof(System.Int16), false, false, false, false,  (int)ProductFieldIndex.Needwarning, 0, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Paipaicatid", typeof(System.String), false, false, false, true,  (int)ProductFieldIndex.Paipaicatid, 50, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Prodactualcostprice", typeof(Nullable<System.Decimal>), false, false, false, true,  (int)ProductFieldIndex.Prodactualcostprice, 0, 2, 10);
			this.AddElementFieldInfo("ProductEntity", "Prodcategory", typeof(System.Int32), false, true, false, false,  (int)ProductFieldIndex.Prodcategory, 0, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Prodreferedcostprice", typeof(Nullable<System.Decimal>), false, false, false, true,  (int)ProductFieldIndex.Prodreferedcostprice, 0, 2, 10);
			this.AddElementFieldInfo("ProductEntity", "Productid", typeof(System.Int32), true, false, false, false,  (int)ProductFieldIndex.Productid, 0, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Profitaddrate", typeof(Nullable<System.Decimal>), false, false, false, true,  (int)ProductFieldIndex.Profitaddrate, 0, 2, 10);
			this.AddElementFieldInfo("ProductEntity", "Quantity", typeof(System.Int32), false, false, false, false,  (int)ProductFieldIndex.Quantity, 0, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Reservedprice", typeof(Nullable<System.Decimal>), false, false, false, true,  (int)ProductFieldIndex.Reservedprice, 0, 2, 10);
			this.AddElementFieldInfo("ProductEntity", "Retailprice", typeof(Nullable<System.Decimal>), false, false, false, true,  (int)ProductFieldIndex.Retailprice, 0, 2, 10);
			this.AddElementFieldInfo("ProductEntity", "Size", typeof(System.String), false, false, false, true,  (int)ProductFieldIndex.Size, 50, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Sku", typeof(System.String), false, false, false, true,  (int)ProductFieldIndex.Sku, 50, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Specification", typeof(System.String), false, false, false, true,  (int)ProductFieldIndex.Specification, 500, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Startprice", typeof(Nullable<System.Decimal>), false, false, false, true,  (int)ProductFieldIndex.Startprice, 0, 2, 10);
			this.AddElementFieldInfo("ProductEntity", "Status", typeof(System.Int16), false, false, false, false,  (int)ProductFieldIndex.Status, 0, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Supplier1", typeof(Nullable<System.Int32>), false, false, false, true,  (int)ProductFieldIndex.Supplier1, 0, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Supply2", typeof(Nullable<System.Int32>), false, false, false, true,  (int)ProductFieldIndex.Supply2, 0, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Supply3", typeof(Nullable<System.Int32>), false, false, false, true,  (int)ProductFieldIndex.Supply3, 0, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Tag", typeof(System.String), false, false, false, true,  (int)ProductFieldIndex.Tag, 50, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Taobaocatid", typeof(System.String), false, false, false, true,  (int)ProductFieldIndex.Taobaocatid, 50, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Type", typeof(System.String), false, false, false, true,  (int)ProductFieldIndex.Type, 200, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Unit", typeof(Nullable<System.Int32>), false, false, false, true,  (int)ProductFieldIndex.Unit, 0, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Warehouseid", typeof(Nullable<System.Int32>), false, false, false, true,  (int)ProductFieldIndex.Warehouseid, 0, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Warninglevel", typeof(Nullable<System.Int32>), false, false, false, true,  (int)ProductFieldIndex.Warninglevel, 0, 0, 0);
			this.AddElementFieldInfo("ProductEntity", "Weight", typeof(Nullable<System.Decimal>), false, false, false, true,  (int)ProductFieldIndex.Weight, 0, 2, 10);
			this.AddElementFieldInfo("ProductEntity", "Wholesaleprice", typeof(Nullable<System.Decimal>), false, false, false, true,  (int)ProductFieldIndex.Wholesaleprice, 0, 2, 10);
		}
		/// <summary>Inits ProductcategoryEntity's FieldInfo objects</summary>
		private void InitProductcategoryEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(ProductcategoryFieldIndex), "ProductcategoryEntity");
			this.AddElementFieldInfo("ProductcategoryEntity", "Name", typeof(System.String), false, false, false, false,  (int)ProductcategoryFieldIndex.Name, 50, 0, 0);
			this.AddElementFieldInfo("ProductcategoryEntity", "Parentcategoryid", typeof(Nullable<System.Int32>), false, false, false, true,  (int)ProductcategoryFieldIndex.Parentcategoryid, 0, 0, 0);
			this.AddElementFieldInfo("ProductcategoryEntity", "Prodcategoryid", typeof(System.Int32), false, true, false, false,  (int)ProductcategoryFieldIndex.Prodcategoryid, 0, 0, 0);
			this.AddElementFieldInfo("ProductcategoryEntity", "Prodcateid", typeof(System.Int32), true, false, false, false,  (int)ProductcategoryFieldIndex.Prodcateid, 0, 0, 0);
		}
		/// <summary>Inits ProductgroupEntity's FieldInfo objects</summary>
		private void InitProductgroupEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(ProductgroupFieldIndex), "ProductgroupEntity");
			this.AddElementFieldInfo("ProductgroupEntity", "Accountid", typeof(Nullable<System.Int32>), false, true, false, true,  (int)ProductgroupFieldIndex.Accountid, 0, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Brand", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Brand, 50, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Categoryruleid", typeof(Nullable<System.Int32>), false, true, false, true,  (int)ProductgroupFieldIndex.Categoryruleid, 0, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Color", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Color, 20, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Colorid", typeof(Nullable<System.Int32>), false, true, false, true,  (int)ProductgroupFieldIndex.Colorid, 0, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Comment", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Comment, 2000, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Description", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Description, 2147483647, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Englishtitle", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Englishtitle, 255, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Id", typeof(System.Int32), true, false, false, false,  (int)ProductgroupFieldIndex.Id, 0, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Itemno", typeof(System.String), false, false, false, false,  (int)ProductgroupFieldIndex.Itemno, 50, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Market", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Market, 20, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Material", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Material, 200, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Picurl1", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Picurl1, 255, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Picurl10", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Picurl10, 255, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Picurl11", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Picurl11, 255, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Picurl12", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Picurl12, 255, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Picurl2", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Picurl2, 255, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Picurl3", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Picurl3, 255, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Picurl4", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Picurl4, 255, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Picurl5", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Picurl5, 255, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Picurl6", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Picurl6, 255, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Picurl7", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Picurl7, 255, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Picurl8", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Picurl8, 255, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Picurl9", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Picurl9, 255, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Productcode", typeof(System.String), false, false, false, false,  (int)ProductgroupFieldIndex.Productcode, 50, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Productname", typeof(System.String), false, false, false, false,  (int)ProductgroupFieldIndex.Productname, 200, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Quantity", typeof(Nullable<System.Int32>), false, false, false, true,  (int)ProductgroupFieldIndex.Quantity, 0, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Retailprice", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Retailprice, 20, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Size", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Size, 20, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Sizetable", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Sizetable, 500, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Sourceid", typeof(Nullable<System.Int32>), false, false, false, true,  (int)ProductgroupFieldIndex.Sourceid, 0, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Specifics", typeof(System.String), false, false, false, true,  (int)ProductgroupFieldIndex.Specifics, 200, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Styleid", typeof(Nullable<System.Int32>), false, true, false, true,  (int)ProductgroupFieldIndex.Styleid, 0, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Tag", typeof(Nullable<System.Int32>), false, false, false, true,  (int)ProductgroupFieldIndex.Tag, 0, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Templateid", typeof(Nullable<System.Int32>), false, false, false, true,  (int)ProductgroupFieldIndex.Templateid, 0, 0, 0);
			this.AddElementFieldInfo("ProductgroupEntity", "Trademarkid", typeof(Nullable<System.Int32>), false, true, false, true,  (int)ProductgroupFieldIndex.Trademarkid, 0, 0, 0);
		}
		/// <summary>Inits ProductsummaryEntity's FieldInfo objects</summary>
		private void InitProductsummaryEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(ProductsummaryFieldIndex), "ProductsummaryEntity");
			this.AddElementFieldInfo("ProductsummaryEntity", "Availablequantity", typeof(System.Int32), false, false, false, false,  (int)ProductsummaryFieldIndex.Availablequantity, 0, 0, 0);
			this.AddElementFieldInfo("ProductsummaryEntity", "Currentquantity", typeof(System.Int32), false, false, false, false,  (int)ProductsummaryFieldIndex.Currentquantity, 0, 0, 0);
			this.AddElementFieldInfo("ProductsummaryEntity", "Onsalequantity", typeof(System.Int32), false, false, false, false,  (int)ProductsummaryFieldIndex.Onsalequantity, 0, 0, 0);
			this.AddElementFieldInfo("ProductsummaryEntity", "Pendingquantity", typeof(System.Int32), false, false, false, false,  (int)ProductsummaryFieldIndex.Pendingquantity, 0, 0, 0);
			this.AddElementFieldInfo("ProductsummaryEntity", "Productid", typeof(System.Int32), true, true, false, false,  (int)ProductsummaryFieldIndex.Productid, 0, 0, 0);
			this.AddElementFieldInfo("ProductsummaryEntity", "Soldquantity", typeof(System.Int32), false, false, false, false,  (int)ProductsummaryFieldIndex.Soldquantity, 0, 0, 0);
		}
		/// <summary>Inits RoleEntity's FieldInfo objects</summary>
		private void InitRoleEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(RoleFieldIndex), "RoleEntity");
			this.AddElementFieldInfo("RoleEntity", "Roleid", typeof(System.Int32), true, false, false, false,  (int)RoleFieldIndex.Roleid, 0, 0, 0);
			this.AddElementFieldInfo("RoleEntity", "Rolename", typeof(System.String), false, false, false, false,  (int)RoleFieldIndex.Rolename, 50, 0, 0);
		}
		/// <summary>Inits RolefunctionEntity's FieldInfo objects</summary>
		private void InitRolefunctionEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(RolefunctionFieldIndex), "RolefunctionEntity");
			this.AddElementFieldInfo("RolefunctionEntity", "Functionid", typeof(System.Int32), true, true, false, false,  (int)RolefunctionFieldIndex.Functionid, 0, 0, 0);
			this.AddElementFieldInfo("RolefunctionEntity", "Roleid", typeof(System.Int32), true, true, false, false,  (int)RolefunctionFieldIndex.Roleid, 0, 0, 0);
		}
		/// <summary>Inits SizesettingEntity's FieldInfo objects</summary>
		private void InitSizesettingEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(SizesettingFieldIndex), "SizesettingEntity");
			this.AddElementFieldInfo("SizesettingEntity", "Batchid", typeof(System.String), false, false, false, true,  (int)SizesettingFieldIndex.Batchid, 38, 0, 0);
			this.AddElementFieldInfo("SizesettingEntity", "Id", typeof(System.Int32), true, false, false, false,  (int)SizesettingFieldIndex.Id, 0, 0, 0);
			this.AddElementFieldInfo("SizesettingEntity", "Sitecode", typeof(Nullable<System.Int32>), false, false, false, true,  (int)SizesettingFieldIndex.Sitecode, 0, 0, 0);
			this.AddElementFieldInfo("SizesettingEntity", "Size", typeof(System.String), false, false, false, true,  (int)SizesettingFieldIndex.Size, 20, 0, 0);
			this.AddElementFieldInfo("SizesettingEntity", "Sizedescription", typeof(System.String), false, false, false, true,  (int)SizesettingFieldIndex.Sizedescription, 255, 0, 0);
			this.AddElementFieldInfo("SizesettingEntity", "Sizetitle", typeof(System.String), false, false, false, true,  (int)SizesettingFieldIndex.Sizetitle, 255, 0, 0);
		}
		/// <summary>Inits StoreEntity's FieldInfo objects</summary>
		private void InitStoreEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(StoreFieldIndex), "StoreEntity");
			this.AddElementFieldInfo("StoreEntity", "Code", typeof(System.String), false, false, false, true,  (int)StoreFieldIndex.Code, 520, 0, 0);
			this.AddElementFieldInfo("StoreEntity", "Creditscore", typeof(Nullable<System.Int32>), false, false, false, true,  (int)StoreFieldIndex.Creditscore, 0, 0, 0);
			this.AddElementFieldInfo("StoreEntity", "Descripton", typeof(System.String), false, false, false, true,  (int)StoreFieldIndex.Descripton, 2000, 0, 0);
			this.AddElementFieldInfo("StoreEntity", "Isactive", typeof(System.Int16), false, false, false, false,  (int)StoreFieldIndex.Isactive, 0, 0, 0);
			this.AddElementFieldInfo("StoreEntity", "Isdefault", typeof(System.Int16), false, false, false, false,  (int)StoreFieldIndex.Isdefault, 0, 0, 0);
			this.AddElementFieldInfo("StoreEntity", "Name", typeof(System.String), false, false, false, true,  (int)StoreFieldIndex.Name, 50, 0, 0);
			this.AddElementFieldInfo("StoreEntity", "Storeid", typeof(System.Int32), true, false, false, false,  (int)StoreFieldIndex.Storeid, 0, 0, 0);
			this.AddElementFieldInfo("StoreEntity", "Storekind", typeof(Nullable<System.Int16>), false, false, false, true,  (int)StoreFieldIndex.Storekind, 0, 0, 0);
			this.AddElementFieldInfo("StoreEntity", "Subscription", typeof(System.String), false, false, false, true,  (int)StoreFieldIndex.Subscription, 2000, 0, 0);
			this.AddElementFieldInfo("StoreEntity", "Token", typeof(System.String), false, false, false, true,  (int)StoreFieldIndex.Token, 2000, 0, 0);
			this.AddElementFieldInfo("StoreEntity", "Userid", typeof(Nullable<System.Int32>), false, false, false, true,  (int)StoreFieldIndex.Userid, 0, 0, 0);
			this.AddElementFieldInfo("StoreEntity", "Username", typeof(System.String), false, false, false, true,  (int)StoreFieldIndex.Username, 255, 0, 0);
		}
		/// <summary>Inits StorecategoryEntity's FieldInfo objects</summary>
		private void InitStorecategoryEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(StorecategoryFieldIndex), "StorecategoryEntity");
			this.AddElementFieldInfo("StorecategoryEntity", "Name", typeof(System.String), false, false, false, false,  (int)StorecategoryFieldIndex.Name, 255, 0, 0);
			this.AddElementFieldInfo("StorecategoryEntity", "Parentstorecat", typeof(Nullable<System.Int32>), false, false, false, true,  (int)StorecategoryFieldIndex.Parentstorecat, 0, 0, 0);
			this.AddElementFieldInfo("StorecategoryEntity", "Storecategoryid", typeof(System.Int32), true, false, false, false,  (int)StorecategoryFieldIndex.Storecategoryid, 0, 0, 0);
			this.AddElementFieldInfo("StorecategoryEntity", "Storeid", typeof(System.Int32), false, true, false, false,  (int)StorecategoryFieldIndex.Storeid, 0, 0, 0);
			this.AddElementFieldInfo("StorecategoryEntity", "Url", typeof(System.String), false, false, false, true,  (int)StorecategoryFieldIndex.Url, 255, 0, 0);
		}
		/// <summary>Inits TemplateEntity's FieldInfo objects</summary>
		private void InitTemplateEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(TemplateFieldIndex), "TemplateEntity");
			this.AddElementFieldInfo("TemplateEntity", "Description", typeof(System.String), false, false, false, true,  (int)TemplateFieldIndex.Description, 2147483647, 0, 0);
			this.AddElementFieldInfo("TemplateEntity", "Id", typeof(System.Int32), true, false, false, false,  (int)TemplateFieldIndex.Id, 0, 0, 0);
			this.AddElementFieldInfo("TemplateEntity", "Name", typeof(System.String), false, false, false, true,  (int)TemplateFieldIndex.Name, 20, 0, 0);
		}
		/// <summary>Inits TitlesettingEntity's FieldInfo objects</summary>
		private void InitTitlesettingEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(TitlesettingFieldIndex), "TitlesettingEntity");
			this.AddElementFieldInfo("TitlesettingEntity", "Color", typeof(System.String), false, false, false, true,  (int)TitlesettingFieldIndex.Color, 20, 0, 0);
			this.AddElementFieldInfo("TitlesettingEntity", "Colortitle", typeof(System.String), false, false, false, true,  (int)TitlesettingFieldIndex.Colortitle, 255, 0, 0);
			this.AddElementFieldInfo("TitlesettingEntity", "Htmltoolcolorid", typeof(Nullable<System.Int32>), false, true, false, true,  (int)TitlesettingFieldIndex.Htmltoolcolorid, 0, 0, 0);
			this.AddElementFieldInfo("TitlesettingEntity", "Id", typeof(System.Int32), true, false, false, false,  (int)TitlesettingFieldIndex.Id, 0, 0, 0);
		}
		/// <summary>Inits UserEntity's FieldInfo objects</summary>
		private void InitUserEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(UserFieldIndex), "UserEntity");
			this.AddElementFieldInfo("UserEntity", "Address", typeof(System.String), false, false, false, true,  (int)UserFieldIndex.Address, 200, 0, 0);
			this.AddElementFieldInfo("UserEntity", "Birthday", typeof(Nullable<System.DateTime>), false, false, false, true,  (int)UserFieldIndex.Birthday, 4, 0, 0);
			this.AddElementFieldInfo("UserEntity", "Company", typeof(System.String), false, false, false, true,  (int)UserFieldIndex.Company, 500, 0, 0);
			this.AddElementFieldInfo("UserEntity", "Department", typeof(System.String), false, false, false, true,  (int)UserFieldIndex.Department, 500, 0, 0);
			this.AddElementFieldInfo("UserEntity", "Email", typeof(System.String), false, false, false, true,  (int)UserFieldIndex.Email, 50, 0, 0);
			this.AddElementFieldInfo("UserEntity", "Fullname", typeof(System.String), false, false, false, true,  (int)UserFieldIndex.Fullname, 50, 0, 0);
			this.AddElementFieldInfo("UserEntity", "Gender", typeof(Nullable<System.Int16>), false, false, false, true,  (int)UserFieldIndex.Gender, 0, 0, 0);
			this.AddElementFieldInfo("UserEntity", "Lastlogindate", typeof(Nullable<System.DateTime>), false, false, false, true,  (int)UserFieldIndex.Lastlogindate, 8, 0, 0);
			this.AddElementFieldInfo("UserEntity", "Mobile", typeof(System.String), false, false, false, true,  (int)UserFieldIndex.Mobile, 50, 0, 0);
			this.AddElementFieldInfo("UserEntity", "Numberoflogins", typeof(Nullable<System.Int32>), false, false, false, true,  (int)UserFieldIndex.Numberoflogins, 0, 0, 0);
			this.AddElementFieldInfo("UserEntity", "Password", typeof(System.String), false, false, false, false,  (int)UserFieldIndex.Password, 500, 0, 0);
			this.AddElementFieldInfo("UserEntity", "Phone", typeof(System.String), false, false, false, true,  (int)UserFieldIndex.Phone, 50, 0, 0);
			this.AddElementFieldInfo("UserEntity", "Position", typeof(System.String), false, false, false, true,  (int)UserFieldIndex.Position, 500, 0, 0);
			this.AddElementFieldInfo("UserEntity", "Remarks", typeof(System.String), false, false, false, true,  (int)UserFieldIndex.Remarks, 500, 0, 0);
			this.AddElementFieldInfo("UserEntity", "Type", typeof(Nullable<System.Int16>), false, false, false, true,  (int)UserFieldIndex.Type, 0, 0, 0);
			this.AddElementFieldInfo("UserEntity", "Userid", typeof(System.Int32), true, false, false, false,  (int)UserFieldIndex.Userid, 0, 0, 0);
			this.AddElementFieldInfo("UserEntity", "Username", typeof(System.String), false, false, false, false,  (int)UserFieldIndex.Username, 50, 0, 0);
			this.AddElementFieldInfo("UserEntity", "Userstatus", typeof(Nullable<System.Int16>), false, false, false, true,  (int)UserFieldIndex.Userstatus, 0, 0, 0);
		}
		/// <summary>Inits UserroleEntity's FieldInfo objects</summary>
		private void InitUserroleEntityInfos()
		{
			this.AddFieldIndexEnumForElementName(typeof(UserroleFieldIndex), "UserroleEntity");
			this.AddElementFieldInfo("UserroleEntity", "Roleid", typeof(System.Int32), true, true, false, false,  (int)UserroleFieldIndex.Roleid, 0, 0, 0);
			this.AddElementFieldInfo("UserroleEntity", "Userid", typeof(System.Int32), true, true, false, false,  (int)UserroleFieldIndex.Userid, 0, 0, 0);
		}
		
	}
}




